package com.cnap.multiclouldmgmt.model.alarm;


import java.util.List;

/**
 * 类说明
 *
 * @author xc
 **/
public class NoticeUser {
    /**
     * 如果persons有值，则通知persons，如果没有值且isAll=true，则通知groupId全组人
     */
    private String groupId;
    private String groupName;
    private List<PersonVO> persons;
    /**
     * 是否通知该分组所有人
     */
    private boolean allOfPeople;

    /**
     * get
     *
     * @return GroupId
     */
    public String getGroupId() {
        return groupId;
    }

    /**
     * set
     *
     * @param groupId groupId
     */
    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    /**
     * get
     *
     * @return GroupName
     */
    public String getGroupName() {
        return groupName;
    }

    /**
     * set
     *
     * @param groupName groupName
     */
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    /**
     * get
     *
     * @return Persons
     */
    public List<PersonVO> getPersons() {
        return persons;
    }

    /**
     * set
     *
     * @param persons persons
     */
    public void setPersons(List<PersonVO> persons) {
        this.persons = persons;
    }

    /**
     * get
     *
     * @return AllOfPeople
     */
    public boolean isAllOfPeople() {
        return allOfPeople;
    }

    /**
     * set
     *
     * @param allOfPeople allOfPeople
     */
    public void setAllOfPeople(boolean allOfPeople) {
        this.allOfPeople = allOfPeople;
    }
}
